package datamining.sequence;
/** 
 * 创建于 2012-11-20 下午11:23:14
 * 
 * @author xujinghu (jinghuxu@nudt.edu.cn)
 * 
 * Copyright 2012 xujinghu
 * 
 * Lisence: Apache
 */
public interface ItemRelabler<ItemType> {

	/**
	 * @param idx
	 * @return the Item label with the given index
	 */
	public ItemType getItemLabel(final int idx);

	/**
	 * @param Item
	 * @return the index of the given Item label
	 */
	public int getItemLabelIndex(final ItemType item);
}
